﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using Iesi.Collections;
using Iesi.Collections.Generic;
using RealIce.Server.Data.Components;
using RealIce.Server.Data.Exceptions;
using RealIce.Server.Data.Enumerations;
using RealIce.Server.Data.RealIce.Entity;

namespace RealIce.Server.Data.RealIce.Entity 
{    
	/// <summary>
	/// An object representation of the TablaPRUEBA2 table
	/// </summary>
	
	public class TablaPRUEBA2
	{
		private System.Int32 _Id;

		private TablaPRUEBA2 _Atributo4;

        public TablaPRUEBA2()
        {        
        }

        public TablaPRUEBA2(System.Int32 atributo, System.Int32 padre)
        {

            this._Id = padre;
            //this._Atributo4 = atributo;
        
        }

		public virtual TablaPRUEBA2 Atributo4
		{
			get
			{
				return _Atributo4;
			}
			set
			{
				_Atributo4 = value;
			}
		}

		public virtual System.Int32 Id
		{
			get
			{
				return _Id;
			}
			set
			{
				_Id = value;
			}
		}


		/*protected bool Equals(TablaPRUEBA2 entity)
		{
			if (entity == null) return false;
			if (!base.Equals(entity)) return false;
			if (!Equals(_Id, entity._Id)) return false;
			return true;
		}

		public override bool Equals(object obj)
		{
			if (ReferenceEquals(this, obj)) return true;
			return Equals(obj as TablaPRUEBA2);
		}

		public override int GetHashCode()
		{
			int result = base.GetHashCode();
			result = 29*result + _Id.GetHashCode();
			return result;
		}       */ 

	}
}
